﻿using System.Windows;
using LL.ERP.OA.Core.Views;
using Prism.Ioc;

namespace LL.ERP.OA.Core
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App
    {
        protected override Window CreateShell()
        {
            return Container.Resolve<MainWindow>();
        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
            //进行Region视图类型的注册
            containerRegistry.RegisterForNavigation<Views.UserControls.FirstUserControl>();
        }
    }
}
